]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
appDisplay: Use EXTERNAL scroll policy
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 29 Oct 2014 23:26:40 +0000 (00:26 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Wed, 29 Oct 2014 23:37:55 +0000 (00:37 +0100)
Now that we support the new policy type, we can just use it instead
of hiding the scrollbar.

https://bugzilla.gnome.org/show_bug.cgi?id=739379

js/ui/appDisplay.js

index 1e940157436b5669b5f4ef98648396ec5836e93f..4f182eccdc3d91aec1006fa28dae7dcbdc43ccc5 100644 (file)
@@ -379,9 +379,7 @@ const AllView = new Lang.Class({
         this.actor.add_actor(this._scrollView);
 
         this._scrollView.set_policy(Gtk.PolicyType.NEVER,
-                                    Gtk.PolicyType.AUTOMATIC);
-        // we are only using ScrollView for the fade effect, hide scrollbars
-        this._scrollView.vscroll.hide();
+                                    Gtk.PolicyType.EXTERNAL);
         this._adjustment = this._scrollView.vscroll.adjustment;
 
         this._pageIndicators = new PageIndicators();